<div class="wordflowheader"><%= _ "The Blog@"%></div>
<br/>
        <span class="submenu">
        <table width="100%">
         <tr>
           <td align="left" width="50%">
             <%= link_to image_tag('di.gif', :onmouseout => "this.src='/images/di.gif'", :onmouseover => "this.src='/images/ldi.gif'"), { :page => @word_pages.current.previous }, :alt => (_ "Forward in time..."), :title => (_ "Forward in time...") if @word_pages.current.previous %>     
           </td>
           <td align="right" width="50%">
             <%= link_to image_tag('di.gif',:onmouseout => "this.src='/images/di.gif'", :onmouseover => "this.src='/images/rdi.gif'"), { :page => @word_pages.current.next }, :alt => (_ "Back in time..."),  :title => (_ "Back in time...") if @word_pages.current.next %> 
           </td>
         </tr>
        </table>
        </span>

<%if @user.in_domain? 'ADMIN'%>
 <div align="center">
    <% for word in @words %>
     [<%=h word.author%>] <b><%=h word.name%></b> [<%=word.created_at.strftime("%d.%m.%Y %H:%M")%>]
     &nbsp;<%= link_to (image_tag 'eraser.png', :title => (_ "Erase"), :onmouseout => "this.src='/images/eraser.png'", :onmouseover => "this.src='/images/overeraser.png'"), { :action => 'destroy', :id => word.id },:alt=> (_ 'Erase'), :method => "post", :confirm => (_ 'qErase') %>
     <br/>
    <% end %>
 </div>
<% else %>
 <div align="center">
    <% 
    fntsize = 8
    for word in @words 
    fntsize+=1 unless fntsize > 27 %>
       <small>[<%=h word.author%>]</small><span style="font-size:<%=fntsize%>px"> <b><%=h word.name%></b> </span><small>[<%=word.created_at.strftime("%d.%m.%Y %H:%M")%>]</small><br/>
    <% end %>
 </div>
<% end %>
